import {
    legacy_createStore as createStore,
    combineReducers,
    applyMiddleware,
} from "redux";
import commmonReducer from "../store/common/index";
import authorityReducer from "../store/authority/index"; //混入登录相关
import thunk from "redux-thunk";
const store = createStore(
    combineReducers({ common: commmonReducer, authority: authorityReducer }),
    applyMiddleware(thunk)
);
export default store;